//
//  NewBaseAlertView.h
//  Yanwei
//
//  Created by Believer Just on 2017/7/26.
//  Copyright © 2017年 DCloud. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, NewBaseAlertViewButtonType) {
    NewBAVCancelBtnType, // 取消按钮
    NewBAVSureBtnType, // 确认按钮
};
typedef NS_ENUM(NSUInteger, NewBaseAlertViewType) {
    NewBaseAlertViewNormalType,
    NewBaseAlertViewCouponVoucherType, // 卡券激活
    NewBaseAlertViewRefoundType, // 退款售后
    NewBaseAlertViewZGType, // 直购、跟标
    NewBaseAlertViewVouchersType, // 代金券
    NewBaseAlertViewLimitBuyingType,//限时购
};

typedef void(^NewBaseAlertViewBlock)(NewBaseAlertViewButtonType);

@interface NewBaseAlertView : UIView

- (instancetype)initWithFrame:(CGRect)frame Message:(NSString *)message Distruction:(NSString *)distruction CancelButtonTitle:(NSString *)cancelButtonTitle SureButtonTitle:(NSString *)sureButtonTitle ButtonNum:(NSInteger)buttonNum alertType:(NewBaseAlertViewType)alertType;

@property (nonatomic, copy) NewBaseAlertViewBlock newBaseAlertViewBlock;

@property (nonatomic, copy) NSString * distruction;

@property (nonatomic, copy) NSString *distructionAttributedString;

@end
